import fetch from '@/utils/network/fetch'

const getExamStatus = (objc = {}) => {
    fetch('/api/learningrecords/exam-stat', objc)
}

const getExamReports = (objc = {}) => {
    fetch('/api/report/examination/employees', objc)
}

const getEOrganizationReports = (objc = {}) => {
    fetch('/api/report/examination/organization', objc)
}

// 学员分配的考试任务
const getExamReport = (objc = {}) => {
    fetch('/api/report/examination/oneemployee', objc)
}

// 组织分配的考试任务
const getEOrganizationReport = (objc = {}) => {
    fetch('/api/report/examination/oneorganization', objc)
}

// 清除员工考试报告
const deleteEmployeeExamReport = params => {
    fetch('/api/record/examination/deletion', params)
}
// 获取数字录入列表
const againNumberCitation = params => {
    fetch('/api/digital', params)
}
export default {
    getExamStatus,
    getExamReports,
    getEOrganizationReports,
    getExamReport,
    getEOrganizationReport,
    deleteEmployeeExamReport,
    againNumberCitation
}
